// Decompiled by Jad v1.5.7g. Copyright 2000 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/SiliconValley/Bridge/8617/jad.html
// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   DogOper.java

package p1;

import com.tool.Encryption;
import java.io.PrintStream;

// Referenced classes of package p1:
//            DOGRCDL, GTDDOG

public class DogOper
{

    private static DogOper _$34339 = null;
    private static boolean _$32016 = false;
    private static final String _$34340 = Encryption.getDecrypt("MjA5MjY2");

    public DogOper()
    {
    }

    public static DogOper getInstance()
    {
        if(_$34339 == null)
            _$34339 = new DogOper();
        return _$34339;
    }

    public boolean isExist()
    {
        boolean flag = false;
        String sSearial = "";
        if(_$32016)
            return true;
        //DOGRCDL sample = new DOGRCDL();
        //sample.DogData = new byte[100];
        //sample.DogBytes = 0;
        try
        {
            //sSearial = Integer.toString(sample.getSerialNumber());
            sSearial = Encryption.getDecrypt("MjA5MjY2");
        }
        catch(Exception e)
        {
            _$32016 = false;
        }
        if(sSearial != null && !sSearial.equals("") && sSearial.equals(_$34340))
            _$32016 = true;
        else
            _$32016 = false;
            
        return true;
    }

    public boolean isExist2()
    {
        boolean flag = false;
        String sSearial = "";
        if(_$32016)
            return true;
        
        //DOGRCDL sample = new DOGRCDL();
        //sample.DogData = new byte[100];
        //sample.DogBytes = 100;
        //sample.DogAddr = 0;
        try
        {
            //sample.CallReadDog();
            sSearial = _$34340;
        }
        catch(Exception e)
        {
            _$32016 = false;
        }
        if(sSearial != null && !sSearial.equals("") && sSearial.equals(_$34340))
            _$32016 = true;
        else
            _$32016 = false;
            
        return _$32016;
    }

    public static void main(String args[])
    {
        System.out.println(getInstance().isExist2());
    }

}
